package com.travel.api.service.order.impl

import com.travel.api.beans.order.Order
import com.travel.api.interfaces.OrderMapper
import com.travel.api.service.order.OrderService
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service

@Service
class OrderServiceImpl: OrderService {

    @Autowired
    lateinit var mapper: OrderMapper

    override fun orderList(order: Order): List<Order> {
        return mapper.select(order)
    }
}